<template>
  <div id="app">
    <h1>vue format</h1>
    <p>{{ enviroment }}</p>
    <button class="wave" @click="$router.push('/page1')">打开page1</button>
    <router-view />
  </div>
</template>

<script>
import '@/style/index.less'
export default {
  name: 'App',
  components: {},
  data() {
    return {
      enviroment: process.env.NODE_ENV
    }
  }
}
</script>

<style></style>
